package com.blog.Utils;


import org.apache.commons.codec.digest.DigestUtils;

/**
 * @author 任浩
 * @version 1.0
 */


public class MinioUtils {

    /**
     * 生成分片上传时文件名字
     * @param fileName
     */
    public static final String createShardingObjectName(String fileName){
        String name = DigestUtils.md5Hex(fileName);
        return name;
    }
}
